<ul class="list-group">
  <% for(var item in data) {%>
    <li class="list-group-item">
      <a href="#user<%= data[item].id %>">
        <%= (data[item].nick == null)?'User Name':data[item].nick %>
      </a>
    </li>
  <% } %>
</ul>